/* 首页内容的样式 */
/* banner区域 */
.banner{
    height: 500px;
    color:#F5F5F5;
}
.banner .wrapper{
    position: relative;

    height: 500px;
    background-color: pink;
    overflow: hidden;
}
.banner .wrapper .pic{
    display: flex;
    /* flex布局，父级宽度不够，子级被挤小，增大父级尺寸 */
    width: 3720px;

}
.subnav{
    position: absolute;
    left: 0;
    top: 0;
    width: 250px;
    height: 500px;
    background-color: rgba(0, 0, 0, 0.42);
}
.subnav li{
    display: flex;
    justify-content: space-between;
    height: 50px;
    padding-left: 29px;
    padding-right: 12px;
    line-height: 50px;
    color: #fff;
    cursor: pointer;
}
.subnav li a{
    font-size: 14px;
    font-weight: 500;
    margin-right: 5px;
    color: #fff;

}
.subnav li .classify{
    font-size: 16px;
    margin-right: 14px;

}
.subnav li span{
    font-size: 16px;
    font-weight: 500;

}
.subnav li .iconfont{
    font-size: 14px;
}
.subnav li:hover{
    background-color: #00BE9A;
}
/* 圆点区域 */
.banner ol{
    position: absolute;
    right: 16px;
    bottom: 17px;
    display: flex;
}
.banner ol li{
    width: 22px;
    height: 22px;
    border-radius: 50%;
    margin-left: 8px;
    cursor: pointer;
}
.banner ol i{
    display: block;
    margin: 4px;
    width: 14px;
    height: 14px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;

}
/* 选中：li半透明；i白色 */
.banner ol .current{
    background-color: rgba(255, 255, 255, 0.5);
}
.banner ol .current i{
    background-color: #fff;
}
/* 新鲜好物区域 */
/* 标题区域，公共样式 */
.title{
    margin-top: 40px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    height: 42px;
}
.title .left {
    display: flex;
}
.title .left h3{
    font-size: 30px;
    margin-right: 35px;
}
.title .left p{
    align-self: flex-end;
    font-size: 16px;
    color: #A1A1A1;
}
.title .right a{
    color: #A1A1A1;
    line-height: 42px;

}
.title .right .iconfont{
    margin-left: 10px;

}
/* 内容区域，公共样式 */
.bd ul{
    display: flex;
    justify-content: space-between;

}
.bd li{
    width: 304px;
    height: 404px;
    background-color: #EEF9F4;

}
.bd li img{
    width: 304px;
    height: 304px;
}
.bd li .txt{
    text-align: center;
    padding-top: 17.5px;
    padding-bottom: 15px;
}
.bd li .txt h3{
    margin-bottom: 8.5px;
    font-size: 20px;
}
.goods .bd li .txt p{
    font-size: 18px;
    color:#AA2113;
}
.goods .bd li .txt p i{
    font-size: 22px;
}
/* 人气推荐 */
.recommend .bd li{
    background-color: #fff;
} 
.recommend .bd .txt h3{
    font-size: 20px;
}
.recommend .txt p{
    font-size: 16px;
    color: #A1A1A1;
}
/* 热门品牌 */
.brand{
    margin-top: 60px;
    height: 468px;
    background-color: #f5f5f5;
}
.brand .wrapper{
    overflow: hidden;
    height: 468px;
}
.brand .title{
    position: relative;
    margin-bottom: 40px;
}

.brand .button{
    position: absolute;
    right: 0;
    bottom: -25px;
    display: flex;
}

.brand .button a{
    width: 20px;
    height: 20px;
    margin-left: 12px;
    text-align: center;
    line-height: 20px;
    color: #fff;
}

.brand .button .prev{
    background-color: #ddd;
}

.brand .button .next{
    background-color: #00BE9A;
}

.brand .bd li img{
    width: 244px;
    height: 306px;
}

/* 生鲜区域 */
.fresh .title{
    margin-top: 60px;
    margin-bottom: 20px;
}

.fresh .right{
    display: flex;
}

.fresh .title ul{
    display: flex;
    margin-right: 65px;
}

.fresh .title li{
    margin-left: 6px;
}

.fresh .title a{
    padding: 0 7px;
    color: #333;
}

.fresh .right .active{
    background-color: #00BE9A;
    color: #fff;
}
/* 内容 */
.content{
    display: flex;
    justify-content: space-between;
}
.content .left{
    width: 248px;
    height: 610px;
}

.content .right{
    width: 968px;
    height: 610px;
}

.content .right ul{
    display: flex;
    flex-wrap: wrap;
}
.content .right li{
    position: relative;

    padding: 10px 21px 0;
    width: 242px;
    height: 305px;
    border: 2px solid #fff;
    /* 隐藏绿色区域 */
    overflow: hidden;
    
}
.content .pic{
    width: 200px;
    height: 180px;
    margin-bottom: 14.5px;
}
.content .info{
    margin-bottom: 5px;
    width: 200px;
    height: 57px;
    line-height: 19px;

}

.content .info h4{
    font-size: 16px;
}

.content .price{
    color: #AF2F22;
}

.content .price i{
    font-size: 22px;
}
/* 产品底部绿色区域 */
.content li .cover{
    position: absolute;
    left: 0;
    bottom: -86px;
    padding-top: 15px;
    width: 242px;
    height: 84px;
    background-color: #00BE9A;
    text-align: center;
    color: #fff;
    transition: all 0.5s;
}
.content li .cover p:nth-child(1){
    font-size: 18px;
}

.content li .cover p:nth-child(2){
    margin: 3px auto 6px ;
    width: 120px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.11);
}
.content li .cover p:nth-child(3){
    font-size: 13px;
}

.content li .cover p:nth-child(3) .iconfont{
    font-size: 14px;
}

/* 鼠标悬停到li，显示cover，改变位置 */
.content .right li:hover .cover{
    bottom: 0;
}
.content .right li:hover {
    border: 2px solid #00BE9A;
}
/* 最新专题 */
.topic{
    margin-bottom: 40px;
}

.topic .title{
    margin-top: 100px;
}

.topic-bd ul{
    display: flex;
    justify-content: space-between;
}

.topic-bd li{
    width: 405px;
    height: 355px;
}

.topic-bd .pic{
    position: relative;
    width: 405px;
    height: 288px;
}

.topic-bd .txt{
    display: flex;
    justify-content: space-between;
    width: 405px;
    height: 67px;
    padding-top: 23px;
    padding-left: 15px;
    padding-right: 15px;
}
.topic-bd .txt .left{
    display: flex;
}

.topic-bd .txt span{
    font-size: 14px;
    margin-right: 20px;
    color: #666;

}
/* 定位区域-文字 */
.topic-bd .cover{
    position: absolute;
    left: 0;
    bottom: 0;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    width: 405px;
    height: 90px;
    background-image: linear-gradient(180deg, rgba(137,137,137,0.00) 0%, 
    rgba(0,0,0,0.90) 100%);
}
.topic-bd .cover .left{
    color: #fff;

}
.topic-bd .cover .left h4{
    font-size: 20px;
    margin-bottom: 6px;
}
.topic-bd .cover .right{
    padding: 0 7px;
    height: 25px;
    background-color: #fff;
    font-size: 15px;
    color: #AA2113;
}
.topic-bd .cover .right span{
    font-size: 18px;
}